package com.bwie.common.pojo.po;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class GoodsPo {
    /** id **/
    @Excel(name = "id")
    private Integer goodsId;
    /** 商家名称 **/
    @Excel(name = "商家名称",width = 20,orderNum = "2")
    private String goodsName;
    /** 价格 **/
    @Excel(name = "价格",width = 20,orderNum = "3")
    private BigDecimal goodsPrice;
    private BigDecimal sumGoodsPrice;
    /** 描述 **/
    @Excel(name = "描述",width = 20,orderNum = "4")
    private String goodsMsg;
    /** 商家 **/
    @Excel(name = "商家",width = 20,orderNum = "5")
    private Integer userId;
    /** 商品库存 **/
    @Excel(name = "商品库存",width = 20,orderNum = "6")
    private Integer goodsNum;
    /** 类型 **/
    private String goodsType;
    /** 状态 **/
    private String goodsStatus;
    /** 商品修改时间 **/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    /** 商品创建时间 **/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}
